CGI.exists

Check if a cgi variable exists with the passed in name and index. keep in mind that the cgi environment can have multiple variables with the same name the passed in index allows us to specify which one to check for.

returns true if the variable exists.

  1. bool exists(string name)
  2. bool exists(string name, int index)
    class CGI
    bool
    exists
    (
    string name
    ,
    int index
    )

Meta